package com.cskaoyan.bean.order.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 创建日期: 2022/05/08 16:42
 *
 * @author wangyonghong
 */
@Data
public class OrderInfoEntity {

    public OrderInfoEntity() {
    }

    public OrderInfoEntity(String consignee, String address, Date addTime, String orderSn, BigDecimal actualPrice, String mobile, String message, String orderStatusText, Short aftersaleStatus, BigDecimal goodsPrice, BigDecimal couponPrice, Integer id, BigDecimal freightPrice, HandleOptionEntity handleOptionEntity) {
        this.consignee = consignee;
        this.address = address;
        this.addTime = addTime;
        this.orderSn = orderSn;
        this.actualPrice = actualPrice;
        this.mobile = mobile;
        this.message = message;
        this.orderStatusText = orderStatusText;
        this.aftersaleStatus = aftersaleStatus;
        this.goodsPrice = goodsPrice;
        this.couponPrice = couponPrice;
        this.id = id;
        this.freightPrice = freightPrice;
        this.handleOption = handleOptionEntity;
    }

    /**
     * consignee : 松哥
     * address : 北京市市辖区西城区 天龙街道试试
     * addTime : 2022-05-08 15:51:07
     * orderSn : 20220508858264
     * actualPrice : 2352.0
     * mobile : 18766753312
     * message :
     * orderStatusText : 已取消(系统)
     * aftersaleStatus : 0
     * goodsPrice : 2357.0
     * couponPrice : 5.0
     * id : 97
     * freightPrice : 0.0
     * handleOption : {"cancel":false,"confirm":false,"rebuy":false,"pay":false,"comment":false,"delete":true,"aftersale":false,"refund":false}
     */


    private String consignee;
    private String address;
    private Date addTime;
    private String orderSn;
    private BigDecimal actualPrice;
    private String mobile;
    private String message;
    private String orderStatusText;
    private Short aftersaleStatus;
    private BigDecimal goodsPrice;
    private BigDecimal couponPrice;
    private Integer id;
    private BigDecimal freightPrice;
    private  HandleOptionEntity handleOption;



}
